/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2023-2025. All rights reserved.
 *
 */
import { ProcessUtils } from '../../utils/process-utils.js';
import { SignConfig } from '../sign-remote-hsp.js';

export const runSign = async (config: SignConfig) => {
  const processUtils = new ProcessUtils(config.moduleName, `Sign${config.signType}`);
  await processUtils.execute(config.verifySignCommands);
  await processUtils.execute(config.signCommand);
};
